package org.jfbmonitor.beans;

import java.util.Date;

public class Transaction {
	private Integer transactionId;
	private Attachment attachment;
	private String state;
	private Date timeStamp;
	private Integer topTransaction;
	private Integer oldestTransaction;
	private Integer oldestActive;
	private String isolationMode;
	private String lockTimeOut;
	private String readOnly;
    private String autoCommit;
    private String autoUndo;
    
    private Integer statId;
    
    public Transaction(Integer transactionId, Attachment attachment,
			String state, Date timeStamp, Integer topTransaction,
			Integer oldestTransaction, Integer oldestActive,
			String isolationMode, String lockTimeOut, String readOnly,
			String autoCommit, String autoUndo, Integer statId) {
		super();
		this.transactionId = transactionId;
		this.attachment = attachment;
		this.state = state;
		this.timeStamp = timeStamp;
		this.topTransaction = topTransaction;
		this.oldestTransaction = oldestTransaction;
		this.oldestActive = oldestActive;
		this.isolationMode = isolationMode;
		this.lockTimeOut = lockTimeOut;
		this.readOnly = readOnly;
		this.autoCommit = autoCommit;
		this.autoUndo = autoUndo;
		this.statId = statId;
	}
    
	public Integer getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(Integer transactionId) {
		this.transactionId = transactionId;
	}

	public Attachment getAttachment() {
		return attachment;
	}

	public void setAttachment(Attachment attachment) {
		this.attachment = attachment;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Date timeStamp) {
		this.timeStamp = timeStamp;
	}

	public Integer getTopTransaction() {
		return topTransaction;
	}

	public void setTopTransaction(Integer topTransaction) {
		this.topTransaction = topTransaction;
	}

	public Integer getOldestTransaction() {
		return oldestTransaction;
	}

	public void setOldestTransaction(Integer oldestTransaction) {
		this.oldestTransaction = oldestTransaction;
	}

	public Integer getOldestActive() {
		return oldestActive;
	}

	public void setOldestActive(Integer oldestActive) {
		this.oldestActive = oldestActive;
	}

	public String getIsolationMode() {
		return isolationMode;
	}

	public void setIsolationMode(String isolationMode) {
		this.isolationMode = isolationMode;
	}

	public String getLockTimeOut() {
		return lockTimeOut;
	}

	public void setLockTimeOut(String lockTimeOut) {
		this.lockTimeOut = lockTimeOut;
	}

	public String getReadOnly() {
		return readOnly;
	}

	public void setReadOnly(String readOnly) {
		this.readOnly = readOnly;
	}

	public String getAutoCommit() {
		return autoCommit;
	}

	public void setAutoCommit(String autoCommit) {
		this.autoCommit = autoCommit;
	}

	public String getAutoUndo() {
		return autoUndo;
	}

	public void setAutoUndo(String autoUndo) {
		this.autoUndo = autoUndo;
	}

	public Integer getStatId() {
		return statId;
	}

	public void setStatId(Integer statId) {
		this.statId = statId;
	}

	
}
